<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>考勤系统 - 主页</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">

    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#4080FF',
                        success: '#00B42A',
                        warning: '#FF7D00',
                        danger: '#F53F3F',
                        info: '#86909C',
                        light: '#F2F3F5',
                        dark: '#1D2129',
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                },
            }
        }
    </script>

    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .sidebar-item {
                @apply flex items-center gap-3 px-4 py-3 rounded-lg transition-all duration-200 hover:bg-primary/10;
            }
            .sidebar-item.active {
                @apply bg-primary/10 text-primary font-medium;
            }
            .card {
                @apply bg-white rounded-xl shadow-sm border border-gray-100 p-5 transition-all duration-300 hover:shadow-md;
            }
            .btn {
                @apply px-4 py-2 rounded-lg transition-all duration-200 font-medium;
            }
            .btn-primary {
                @apply bg-primary text-white hover:bg-primary/90 active:bg-primary/80;
            }
            .btn-outline {
                @apply border border-gray-200 hover:bg-gray-50 active:bg-gray-100;
            }
            .btn-success {
                @apply bg-success text-white hover:bg-success/90 active:bg-success/80;
            }
            .btn-danger {
                @apply bg-danger text-white hover:bg-danger/90 active:bg-danger/80;
            }
            .form-input {
                @apply w-full px-3 py-2 border border-gray-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary transition-all duration-200;
            }
        }
    </style>
</head>

<body class="font-inter bg-gray-50 text-dark min-h-screen flex flex-col">
<!-- 顶部导航栏 -->
<header class="bg-white border-b border-gray-200 sticky top-0 z-50 shadow-sm">
    <div class="container mx-auto px-4">
        <div class="flex items-center justify-between h-16">
            <!-- Logo -->
            <div class="flex items-center">
                <div class="text-primary text-2xl font-bold mr-2">
                    <i class="fa fa-calendar-check-o"></i>
                </div>
                <span class="text-xl font-bold">考勤系统</span>
            </div>

            <!-- 搜索框 -->
            <div class="hidden md:block flex-1 max-w-md mx-8">
                <div class="relative">
            <span class="absolute inset-y-0 left-0 flex items-center pl-3">
              <i class="fa fa-search text-gray-400"></i>
            </span>
                    <input type="text" class="form-input pl-10" placeholder="搜索员工、部门或考勤记录...">
                </div>
            </div>

            <!-- 用户菜单 -->
            <div class="flex items-center gap-4">
                <button class="btn-outline rounded-full p-2 relative">
                    <i class="fa fa-bell-o"></i>
                    <span class="absolute top-1 right-1 bg-danger text-white text-xs rounded-full h-4 w-4 flex items-center justify-center">3</span>
                </button>

                <div class="relative group">
                    <button class="flex items-center gap-2">
                        <img src="https://picsum.photos/id/1005/40/40" alt="用户头像" class="h-8 w-8 rounded-full object-cover">
                        <span class="hidden md:inline font-medium">黎想</span>
                        <i class="fa fa-angle-down text-gray-400"></i>
                    </button>

                    <div class="absolute right-0 mt-2 w-48 bg-white rounded-lg shadow-lg border border-gray-100 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-50">
                        <div class="py-2">
                            <a href="#" class="block px-4 py-2 hover:bg-gray-50">
                                <i class="fa fa-user-o mr-2"></i>个人资料
                            </a>
                            <a href="#" class="block px-4 py-2 hover:bg-gray-50">
                                <i class="fa fa-cog mr-2"></i>设置
                            </a>
                            <div class="border-t border-gray-100 my-1"></div>
                            <a href="#" class="block px-4 py-2 hover:bg-gray-50 text-danger">
                                <i class="fa fa-sign-out mr-2"></i>退出登录
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>

<div class="flex flex-1 overflow-hidden">
    <!-- 侧边栏 -->
    <aside class="w-64 bg-white border-r border-gray-200 flex-shrink-0 hidden md:block">
        <div class="py-6 px-2">
            <nav class="space-y-1">
                <a href="#" class="sidebar-item active">
                    <i class="fa fa-home"></i>
                    <span>首页</span>
                </a>
                <a href="#" class="sidebar-item">
                    <i class="fa fa-user-o"></i>
                    <span>员工管理</span>
                </a>
                <a href="#" class="sidebar-item">
                    <i class="fa fa-calendar"></i>
                    <span>考勤记录</span>
                </a>
                <a href="#" class="sidebar-item">
                    <i class="fa fa-bar-chart"></i>
                    <span>统计报表</span>
                </a>
                <a href="#" class="sidebar-item">
                    <i class="fa fa-clock-o"></i>
                    <span>排班管理</span>
                </a>
                <a href="#" class="sidebar-item">
                    <i class="fa fa-paper-plane-o"></i>
                    <span>请假申请</span>
                </a>
                <a href="#" class="sidebar-item">
                    <i class="fa fa-cog"></i>
                    <span>系统设置</span>
                </a>
            </nav>
        </div>
    </aside>

    <!-- 移动端菜单按钮 -->
    <button class="md:hidden fixed bottom-4 right-4 bg-primary text-white p-3 rounded-full shadow-lg z-40">
        <i class="fa fa-bars"></i>
    </button>

    <!-- 主内容区 -->
    <main class="flex-1 overflow-y-auto p-4 md:p-6">
        <div class="max-w-7xl mx-auto">
            <!-- 欢迎信息 -->
            <div class="mb-8">
                <h1 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold text-dark">欢迎回来，张三</h1>
                <p class="text-gray-500 mt-1">今天是 <span id="current-date" class="font-medium"></span></p>
            </div>

            <!-- 快速操作 -->
            <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8">
                <div class="card flex flex-col items-center justify-center text-center p-4">
                    <div class="h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center mb-3">
                        <i class="fa fa-clock-o text-primary text-xl"></i>
                    </div>
                    <h3 class="font-medium">上班打卡</h3>
                    <p class="text-sm text-gray-500 mt-1">点击进行上班打卡</p>
                    <button class="btn btn-primary mt-4 w-full">打卡</button>
                </div>

                <div class="card flex flex-col items-center justify-center text-center p-4">
                    <div class="h-12 w-12 rounded-full bg-success/10 flex items-center justify-center mb-3">
                        <i class="fa fa-calendar-check-o text-success text-xl"></i>
                    </div>
                    <h3 class="font-medium">下班打卡</h3>
                    <p class="text-sm text-gray-500 mt-1">点击进行下班打卡</p>
                    <button class="btn btn-success mt-4 w-full">打卡</button>
                </div>

                <div class="card flex flex-col items-center justify-center text-center p-4">
                    <div class="h-12 w-12 rounded-full bg-warning/10 flex items-center justify-center mb-3">
                        <i class="fa fa-paper-plane-o text-warning text-xl"></i>
                    </div>
                    <h3 class="font-medium">请假申请</h3>
                    <p class="text-sm text-gray-500 mt-1">提交请假申请</p>
                    <button class="btn btn-outline mt-4 w-full">申请</button>
                </div>

                <div class="card flex flex-col items-center justify-center text-center p-4">
                    <div class="h-12 w-12 rounded-full bg-info/10 flex items-center justify-center mb-3">
                        <i class="fa fa-bar-chart text-info text-xl"></i>
                    </div>
                    <h3 class="font-medium">考勤统计</h3>
                    <p class="text-sm text-gray-500 mt-1">查看个人考勤统计</p>
                    <button class="btn btn-outline mt-4 w-full">查看</button>
                </div>
            </div>

            <!-- 数据概览 -->
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
                <div class="card">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-gray-500 font-medium">本月出勤</h3>
                            <p class="text-3xl font-bold mt-1">21<span class="text-lg font-medium text-gray-500 ml-1">天</span></p>
                            <div class="flex items-center mt-3 text-success text-sm">
                                <i class="fa fa-arrow-up mr-1"></i>
                                <span>3天 (较上月)</span>
                            </div>
                        </div>
                        <div class="h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center">
                            <i class="fa fa-calendar text-primary"></i>
                        </div>
                    </div>
                    <div class="mt-4">
                        <div class="w-full bg-gray-100 rounded-full h-2">
                            <div class="bg-primary h-2 rounded-full" style="width: 84%"></div>
                        </div>
                        <p class="text-xs text-gray-500 mt-1">本月目标: 25天</p>
                    </div>
                </div>

                <div class="card">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-gray-500 font-medium">迟到次数</h3>
                            <p class="text-3xl font-bold mt-1">2<span class="text-lg font-medium text-gray-500 ml-1">次</span></p>
                            <div class="flex items-center mt-3 text-danger text-sm">
                                <i class="fa fa-arrow-up mr-1"></i>
                                <span>1次 (较上月)</span>
                            </div>
                        </div>
                        <div class="h-12 w-12 rounded-full bg-danger/10 flex items-center justify-center">
                            <i class="fa fa-clock-o text-danger"></i>
                        </div>
                    </div>
                    <div class="mt-4">
                        <div class="w-full bg-gray-100 rounded-full h-2">
                            <div class="bg-danger h-2 rounded-full" style="width: 8%"></div>
                        </div>
                        <p class="text-xs text-gray-500 mt-1">部门平均: 1.5次</p>
                    </div>
                </div>

                <div class="card">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="text-gray-500 font-medium">请假天数</h3>
                            <p class="text-3xl font-bold mt-1">3<span class="text-lg font-medium text-gray-500 ml-1">天</span></p>
                            <div class="flex items-center mt-3 text-success text-sm">
                                <i class="fa fa-arrow-down mr-1"></i>
                                <span>2天 (较上月)</span>
                            </div>
                        </div>
                        <div class="h-12 w-12 rounded-full bg-warning/10 flex items-center justify-center">
                            <i class="fa fa-calendar-times-o text-warning"></i>
                        </div>
                    </div>
                    <div class="mt-4">
                        <div class="w-full bg-gray-100 rounded-full h-2">
                            <div class="bg-warning h-2 rounded-full" style="width: 12%"></div>
                        </div>
                        <p class="text-xs text-gray-500 mt-1">剩余年假: 7天</p>
                    </div>
                </div>
            </div>

            <!-- 图表和表格 -->
            <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
                <!-- 考勤趋势图表 -->
                <div class="card lg:col-span-2">
                    <div class="flex justify-between items-center mb-6">
                        <h3 class="font-semibold text-lg">考勤趋势</h3>
                        <div class="flex space-x-2">
                            <button class="btn btn-outline text-sm px-3 py-1">周</button>
                            <button class="btn btn-primary text-sm px-3 py-1">月</button>
                            <button class="btn btn-outline text-sm px-3 py-1">年</button>
                        </div>
                    </div>
                    <div class="h-80">
                        <canvas id="attendanceChart"></canvas>
                    </div>
                </div>

                <!-- 今日考勤状态 -->
                <div class="card">
                    <h3 class="font-semibold text-lg mb-4">今日考勤状态</h3>
                    <div class="space-y-4">
                        <div>
                            <div class="flex justify-between items-center mb-1">
                                <span class="text-sm text-gray-500">上班打卡</span>
                                <span class="text-sm font-medium">08:45</span>
                            </div>
                            <div class="flex items-center">
                                <div class="h-1.5 w-full bg-gray-100 rounded-full">
                                    <div class="h-1.5 bg-success rounded-full" style="width: 100%"></div>
                                </div>
                                <span class="ml-2 text-xs font-medium text-success">正常</span>
                            </div>
                        </div>

                        <div>
                            <div class="flex justify-between items-center mb-1">
                                <span class="text-sm text-gray-500">下班打卡</span>
                                <span class="text-sm font-medium">未打卡</span>
                            </div>
                            <div class="flex items-center">
                                <div class="h-1.5 w-full bg-gray-100 rounded-full">
                                    <div class="h-1.5 bg-gray-300 rounded-full" style="width: 0%"></div>
                                </div>
                                <span class="ml-2 text-xs font-medium text-gray-500">待打卡</span>
                            </div>
                        </div>

                        <div class="border-t border-gray-100 pt-4">
                            <h4 class="font-medium mb-2">工作时长</h4>
                            <div class="flex items-center justify-between">
                                <div class="text-3xl font-bold">7.5<span class="text-sm font-medium text-gray-500 ml-1">小时</span></div>
                                <div class="text-sm text-gray-500">
                                    <span class="block">今日目标: 8小时</span>
                                    <span class="block text-xs mt-1">还需 0.5 小时</span>
                                </div>
                            </div>
                        </div>

                        <button class="btn btn-success w-full mt-2">
                            <i class="fa fa-calendar-check-o mr-2"></i>下班打卡
                        </button>
                    </div>
                </div>
            </div>

            <!-- 最近考勤记录 -->
            <div class="card mb-8">
                <div class="flex justify-between items-center mb-6">
                    <h3 class="font-semibold text-lg">最近考勤记录</h3>
                    <a href="#" class="text-primary hover:text-primary/80 text-sm font-medium flex items-center">
                        查看全部 <i class="fa fa-angle-right ml-1"></i>
                    </a>
                </div>

                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead>
                        <tr>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">日期</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">上班时间</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">下班时间</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">工作时长</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">状态</th>
                        </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                        <tr>
                            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2025-06-20</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">08:45</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">未打卡</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">7.5小时</td>
                            <td class="px-4 py-4 whitespace-nowrap">
                                <span class="px-2 py-1 text-xs font-medium bg-success/10 text-success rounded-full">正常</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2025-06-19</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">09:10</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">18:30</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">8.5小时</td>
                            <td class="px-4 py-4 whitespace-nowrap">
                                <span class="px-2 py-1 text-xs font-medium bg-warning/10 text-warning rounded-full">迟到</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2025-06-18</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">08:35</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">17:45</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">9小时</td>
                            <td class="px-4 py-4 whitespace-nowrap">
                                <span class="px-2 py-1 text-xs font-medium bg-success/10 text-success rounded-full">正常</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2025-06-17</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">09:20</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">18:00</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">8.5小时</td>
                            <td class="px-4 py-4 whitespace-nowrap">
                                <span class="px-2 py-1 text-xs font-medium bg-warning/10 text-warning rounded-full">迟到</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2025-06-16</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">08:25</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">17:30</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">8.5小时</td>
                            <td class="px-4 py-4 whitespace-nowrap">
                                <span class="px-2 py-1 text-xs font-medium bg-success/10 text-success rounded-full">正常</span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>

            <!-- 请假申请 -->
            <div class="card">
                <div class="flex justify-between items-center mb-6">
                    <h3 class="font-semibold text-lg">请假申请</h3>
                    <button class="btn btn-primary">
                        <i class="fa fa-plus mr-2"></i>新建申请
                    </button>
                </div>

                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead>
                        <tr>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">申请日期</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">类型</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">时长</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">状态</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">操作</th>
                        </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                        <tr>
                            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2025-06-15</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">病假</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">1天</td>
                            <td class="px-4 py-4 whitespace-nowrap">
                                <span class="px-2 py-1 text-xs font-medium bg-success/10 text-success rounded-full">已批准</span>
                            </td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-primary">
                                <a href="#" class="hover:underline">查看详情</a>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2025-06-10</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">年假</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">2天</td>
                            <td class="px-4 py-4 whitespace-nowrap">
                                <span class="px-2 py-1 text-xs font-medium bg-success/10 text-success rounded-full">已批准</span>
                            </td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-primary">
                                <a href="#" class="hover:underline">查看详情</a>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2025-06-05</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">事假</td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">0.5天</td>
                            <td class="px-4 py-4 whitespace-nowrap">
                                <span class="px-2 py-1 text-xs font-medium bg-warning/10 text-warning rounded-full">待审批</span>
                            </td>
                            <td class="px-4 py-4 whitespace-nowrap text-sm text-primary">
                                <a href="#" class="hover:underline">查看详情</a>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </main>
</div>

<footer class="bg-white border-t border-gray-200 py-4">
    <div class="container mx-auto px-4">
        <div class="flex flex-col md:flex-row justify-between items-center">
            <div class="text-center md:text-left mb-4 md:mb-0">
                <p class="text-sm text-gray-500">© 2025 考勤系统. 保留所有权利.</p>
            </div>
            <div class="flex space-x-4">
                <a href="#" class="text-gray-500 hover:text-primary">
                    <i class="fa fa-question-circle"></i> 帮助中心
                </a>
                <a href="#" class="text-gray-500 hover:text-primary">
                    <i class="fa fa-file-text-o"></i> 使用条款
                </a>
                <a href="#" class="text-gray-500 hover:text-primary">
                    <i class="fa fa-shield"></i> 隐私政策
                </a>
            </div>
        </div>
    </div>
</footer>

<script>
    // 设置当前日期
    const options = { year: 'numeric', month: 'long', day: 'numeric', weekday: 'long' };
    document.getElementById('current-date').textContent = new Date().toLocaleDateString('zh-CN', options);

    // 考勤趋势图表
    const ctx = document.getElementById('attendanceChart').getContext('2d');
    const attendanceChart = new Chart(ctx, {
        type: 'line',
        data: {
            labels: ['1月', '2月', '3月', '4月', '5月', '6月'],
            datasets: [
                {
                    label: '出勤天数',
                    data: [22, 20, 21, 23, 21, 21],
                    borderColor: '#165DFF',
                    backgroundColor: 'rgba(22, 93, 255, 0.1)',
                    tension: 0.3,
                    fill: true
                },
                {
                    label: '迟到次数',
                    data: [1, 3, 2, 1, 2, 2],
                    borderColor: '#F53F3F',
                    backgroundColor: 'rgba(245, 63, 63, 0.1)',
                    tension: 0.3,
                    fill: true
                },
                {
                    label: '请假天数',
                    data: [2, 4, 3, 1, 3, 3],
                    borderColor: '#FF7D00',
                    backgroundColor: 'rgba(255, 125, 0, 0.1)',
                    tension: 0.3,
                    fill: true
                }
            ]
        },
        options: {
            responsive: true,
            maintainAspectRatio: false,
            plugins: {
                legend: {
                    position: 'top',
                },
                tooltip: {
                    mode: 'index',
                    intersect: false,
                }
            },
            scales: {
                y: {
                    beginAtZero: true,
                    grid: {
                        drawBorder: false,
                        color: 'rgba(0, 0, 0, 0.05)',
                    }
                },
                x: {
                    grid: {
                        display: false
                    }
                }
            },
            interaction: {
                mode: 'nearest',
                axis: 'x',
                intersect: false
            },
            animation: {
                duration: 1000,
                easing: 'easeOutQuart'
            }
        }
    });
</script>
</body>
</html>
